package pl.streamsoft.test.model.entities;

import java.util.Date;

public class DateEntryEntity extends Entity {

	private Date date;

	public DateEntryEntity() {
		this.id = null;
		this.date = null;
	}

	public DateEntryEntity(Date date) {
		this.id = null;
		this.date = date;
	}

	public DateEntryEntity(Integer id, Date date) {
		this.date = date;
		this.id = id;
	}

	public Date getValue() {
		return date;
	}

	public void setValue(Date value) {
		this.date = value;
	}

	public void fromDate(Date date) {
		this.date = date;
	}
}
